tutorial12/main.c
/* * Accord Software, Inc. * * Tutorial 12 * * Send nested structure and receive int */ #include "nstruct.h" main(argc, argv) int argc; char *argv[]; { char *progname = argv[0]; char *color = "Blue"; struct volume v; v.height = 2; v.area.width = 3; v.area.length = 4; printf("%s volume = %d\n", progname, get_volume(&v, color)); exit(0); }